package com.example.android427;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.Spinner;

import androidx.appcompat.app.AppCompatActivity;

public class gongkaikeActivity extends AppCompatActivity {

    private Spinner spinner;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.gongkaike);
        spinner = findViewById(R.id.depSpinner);

        Button gkk_b1 = (Button) findViewById(R.id.gkk_b1);
        gkk_b1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(gongkaikeActivity.this, MainActivity.class);
                startActivity(intent);
            }
        });
    }
}